package com.google.code.physicaljs.jetty;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;

public abstract class HttpServlet extends javax.servlet.http.HttpServlet {
  public HttpServlet() {}
  
  public abstract void handleRequest(HttpServletRequest request, HttpServletResponse response);
  
  protected void service(HttpServletRequest request, HttpServletResponse response)
  throws ServletException, java.io.IOException {
    this.handleRequest(request, response);
  }    
}